package com.ruiyian.system.domain;

import com.ruiyian.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author chong
 * @email 673426164@qq.com
 * @create 2021/8/24
 * Desc: 服务
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ServerEq extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long id;
    private String host;
    private Integer port;
    private String delFlag;
    private String status;
    private String remark;
    private Integer ifOnline;   // 1:在线 0: 不在线
    private String code;
    private int moduleid;

    public ServerEq(String status) {
        this.status = status;
    }
}
